package ylh.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import ylh.dto.DishDto;
import ylh.entity.Category;
import ylh.entity.Dish;
import ylh.entity.DishFlavor;

import java.util.List;

public interface DishService extends IService<Dish> {
    //新增菜品，同时插入菜品对应的口味手，需要操作两张表：dish、dish_flavor
    public void saveWithFlavor(DishDto dishDto);

    public DishDto getByIdWithFlavor(Long dishId);

    public void updateWithFlavor(DishDto dishDto);
}
